<template>
  <div id="app">
    <el-dialog :close-on-click-modal="false" :visible.sync="openDialog" width="100%" top="0" height="100%">
      <iframe :src="'https:'+src" style="width: 100%; height: 500px;" frameborder="0"></iframe>
    </el-dialog>
  </div>
</template>
<script>
// import pdf from 'vue-pdf'

export default {
  // components: {pdf},
  name: "openPdf",
  data() {
    return {
      openDialog:false,
      src: '',
    }
  },
  created() {
  },
  methods: {
    handleOpen(val) {
      console.log(val)
      this.openDialog = true
      this.src =val
    },
  }
}
</script>

<style scoped>

</style>